package com.local.es.pojo;

import java.io.Serializable;

public class Goods implements Serializable {
    private Integer goodsId;
    private String goodsName;
    private String goodsImg;
    private String brand;
    private Integer stock;
    private Integer origiPrice;
    private Integer salePrice;
    private String tag;
    private String intro;
    private String description;
    private Integer isDeleted;
    private String createTime;
    private String updateTime;

    public Goods(){}

    public Goods(Integer goodsId, String goodsName, String goodsImg, String brand, Integer stock, Integer origiPrice, Integer salePrice, String tag, String intro, String description, Integer isDeleted, String createTime, String updateTime) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImg = goodsImg;
        this.brand = brand;
        this.stock = stock;
        this.origiPrice = origiPrice;
        this.salePrice = salePrice;
        this.tag = tag;
        this.intro = intro;
        this.description = description;
        this.isDeleted = isDeleted;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getOrigiPrice() {
        return origiPrice;
    }

    public void setOrigiPrice(Integer origiPrice) {
        this.origiPrice = origiPrice;
    }

    public Integer getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(Integer salePrice) {
        this.salePrice = salePrice;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsImg='" + goodsImg + '\'' +
                ", brand='" + brand + '\'' +
                ", stock=" + stock +
                ", origiPrice=" + origiPrice +
                ", salePrice=" + salePrice +
                ", tag='" + tag + '\'' +
                ", intro='" + intro + '\'' +
                ", description='" + description + '\'' +
                ", isDeleted=" + isDeleted +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
